module.exports = {
    chainWebpack: cofig => {
        cofig.plugin('define').tap(args => {
            console.log("env",process.env.type)
            args[0]['process.env'].type = process.env.type
            console.log('aaa', args)
            return args;
        })
    }
}